extends Control

var isActive = false

@onready var timer = $ShakeTimer

func _ready():
	timer.connect("timeout", timeout)
	visible = false
	
	
func _process(_delta):
	if isActive:
		timer.start()
		isActive = false
		
	
## 控制REC的闪烁
func timeout():
	visible = !visible
